import { Controller, Get, Post, UploadedFile, UseGuards, UseInterceptors } from '@nestjs/common';
import { OssService } from './oss.service';
import { FileInterceptor } from '@nestjs/platform-express';
import multer = require('multer');
import { JwtGuard } from '../guards/jwt.guard';

@Controller('oss')
export class OssController {
  constructor(private ossService:OssService) {
  }

  @Get('signature')
  getOssSignature() {
    return this.ossService.getSignature();
  }
}
